function showData(){
 
  let i = 0
  while (i < 10) {
    console.log("🚀 ~ file: demo1.js:5 ~ showData ~ i:", i)
    i++
  }
}

showData()